$(document).ready(function(){
    $('.responsive-slider').responsiveSlider();
    var height_f  =  $('#r_f a').height();
    $('.row-feature-ads a').height(height_f);
    $('.top-nav ul.lv2 > li') .hover(function() {
    	var bg = $(this).attr('rel');
    	$(this).find('ul.lv3').attr('style', "background: #fff url(" + bg + ') bottom right no-repeat; background-size: 20%');
    }, function() {
    	/* Stuff to do when the mouse leaves the element */
    });

});